const imgreducer = (state = {imglist:[]}, action) => {
    switch (action.type) {
        case 'GET_IMG':
            console.log(action.imglist)
            return {imglist:action.imglist}
        default:
            return state;
    }
}

export default imgreducer;